StorageCommit(DicomScp,IEnumerable,string,StorageCommitOptions) Method (original) (raw)
Leadtools.Dicom.Scu Namespace > Classes > StoreScu Class > Methods > StorageCommit Method (StoreScu) > StorageCommit(DicomScp,IEnumerable,string,StorageCommitOptions) Method
←Select platform
In This Topic ▼
Summary
Sends a storage commit request message to a peer member of a connection defined by SCP.
Syntax
C#
C++/CLI
public string StorageCommit(
[DicomScp](dicomscp.html) _Scp_,
IEnumerable<string> _files_,
string _transactionUid_,
[StorageCommitOptions](storescu-storagecommitoptions.html) _storageCommitOptions_
)
public:
String^ StorageCommit(
[DicomScp](dicomscp.html)^ _Scp_,
System::Collections::Generic::IEnumerable<String^>^ _files_,
String^ _transactionUid_,
[StorageCommitOptions](storescu-storagecommitoptions.html)^ _storageCommitOptions_
)
Parameters
Scp
The peer connection to send the storage commit request to.
files
List of files to store.
transactionUid
The UID for the transaction. If null or empty, it will be generated and returned.
storageCommitOptions
A StorageCommitOptions which contains the options for the store.
Return Value
The UID for the transaction. If transactionUid was null or empty, a new UID will be generated and returned, otherwise, the same value will be returned.
Remarks
This overload extracts a list of SOPInstanceUID from a list of DICOM files to prepare the DicomDataSet that is used with the N-Action-Req.
If you already have a list of SopInstanceReference, you can use StorageCommit(DicomScp,IEnumerable,string,StorageCommitOptions).
If you have a DicomDataSet that contains all the StorageCommit (N-Action-Req), you can use StorageCommit(DicomScp,DicomDataSet,StorageCommitOptions).
Requirements
See Also
Reference
Help Version 22.0.2023.1.24
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.